using System.Configuration;
using System.Data.SqlClient;

namespace Book_Shop.DAL.Gateway
{
    public class DbGateway
    {
        protected SqlConnection Connection;
        protected SqlCommand Command;

        public DbGateway()
        {
            Connection = new SqlConnection(ConfigurationManager.ConnectionStrings["BookShopDBConnectionString"].ConnectionString);
            Command = new SqlCommand();
            Command.Connection = Connection;
        }
    }
}